/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edi.dao;

import edi.entities.DepUsrDocEntity;
import edi.entities.DepartmentUserEntity;

import java.util.List;

public interface DepUsrDocDao extends CrudDao<DepUsrDocEntity> {

	public DepUsrDocEntity findOneByDocId(Long docId);

	List<DepUsrDocEntity> findAllByDocId(Long docId);

	List<DepUsrDocEntity> findByDepartmentUser(DepartmentUserEntity departmentUserEntity);
	List<DepUsrDocEntity> findByDepartmentUser(List<DepartmentUserEntity> departmentUserEntities);
}
